package cn.fsd.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Exchange_record {
    private String exchange_id;

    private String customer_id;

    private String old_order_id;

    private String new_task_id;

    private String after_sales;

    private String reason;

    private Integer exchange_num;

    private Long exchange_money;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private Date exchange_date;

    public String getExchange_id() {
        return exchange_id;
    }

    public void setExchange_id(String exchange_id) {
        this.exchange_id = exchange_id == null ? null : exchange_id.trim();
    }

    public String getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(String customer_id) {
        this.customer_id = customer_id == null ? null : customer_id.trim();
    }

    public String getOld_order_id() {
        return old_order_id;
    }

    public void setOld_order_id(String old_order_id) {
        this.old_order_id = old_order_id == null ? null : old_order_id.trim();
    }

    public String getNew_task_id() {
        return new_task_id;
    }

    public void setNew_task_id(String new_task_id) {
        this.new_task_id = new_task_id == null ? null : new_task_id.trim();
    }

    public String getAfter_sales() {
        return after_sales;
    }

    public void setAfter_sales(String after_sales) {
        this.after_sales = after_sales == null ? null : after_sales.trim();
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public Integer getExchange_num() {
        return exchange_num;
    }

    public void setExchange_num(Integer exchange_num) {
        this.exchange_num = exchange_num;
    }

    public Long getExchange_money() {
        return exchange_money;
    }

    public void setExchange_money(Long exchange_money) {
        this.exchange_money = exchange_money;
    }

    public Date getExchange_date() {
        return exchange_date;
    }

    public void setExchange_date(Date exchange_date) {
        this.exchange_date = exchange_date;
    }
}